<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
  
  <head>
    
    <%@ include file="/WEB-INF/include/meta.jsp"%>
    <%@ include file="/WEB-INF/include/css.jsp"%>
    
  </head>
  <body>
    <div class="page-group">
      <div class="page page-current">
        <header class="bar bar-nav fs-header-small">
          <a href="${ctx.host}/credit-coupons/${creditCouponBatchId}" class="icon icon-left pull-left"></a>
          <h1 class="title">积分商场</h1>
        </header>
        <div class="content bg-white">
          <div class="coupon-status">
            <img src="${ctx.resource}/image/logo.png">
          </div>
          <div class="status-hint text-center">
            <p style="color: ${success == true ? '#f19730' : '#fc0101'};">
              <i class="icon icon-${success == true ? 'success' : 'failure'}"></i>
              ${message}
            </p>
            <a href="${ctx.host}/credit-coupons" class="button back-btn" style=" ">${success == true ? '返回商城首页' : '再逛一逛？'}</a>
          </div>
        </div>
      </div>
    </div>
   
    <%@ include file="/WEB-INF/include/script.jsp"%>
    <d:resource type="script" root="${ctx.resource}/build" src="js/page/credit/coupon-mall.js" />
    <script type="text/javascript">
      require(['page/credit/coupon-mall'], function(page) {
        page.init()
      })
    </script>
  </body>
</html>